package indi.zhifa.recipe.bailan.framework.auth.impl.entity.po;
import com.baomidou.mybatisplus.annotation.TableName;
import indi.zhifa.recipe.bailan.framework.auth.impl.entity.enums.Gender;
import indi.zhifa.recipe.bailan.framework.auth.entity.po.BaseUserWithRoleAndAuthViewEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;

/**
 * 该类用于分页查找
 */
@TableName("view_user_with_role_and_auth")
@Schema(title = "用户和角色权限节点的join表视图", description = "用户和角色权限节点的join表视图")
@Data
public class UserWithRoleAndAuthViewEntity extends BaseUserWithRoleAndAuthViewEntity {

    @Schema(title = "昵称")
    private String nickName;

    @Schema(title = "自我描述")
    private String description;

    @Schema(title = "邮箱地址")
    private String email;

    @Schema(title = "电话号码")
    private String phone;

    @Schema(title = "性别")
    private Gender gender;

    @Schema(title = "生日")
    private LocalDate birthday;
}
